package org.example.examfx02.entity;

public class User {
    protected String username;
    protected String password;
    protected Boolean isChanged;

    public Boolean getChanged() {
        return isChanged;
    }

    public void setChanged(Boolean changed) {
        isChanged = changed;
    }

    public User(){
        this.password = "123456";
        this.isChanged = false;
    }
    public User(String username){
        this.username = username;
        this.password = "123456";
        this.isChanged = false;
    }
    public User(String username,String password){
        this.username = username;
        this.password = password;
        this.isChanged = true;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
